// 导入组件
const Layout = () => import('@/layout/index.vue')
const zsg = () => import('@/views/zsg')
const patient = () => import('@/views/zsg/patient.vue')
const group =()=>import('@/views/zsg/group.vue')
const healthy=()=>import('@/views/zsg/healthy.vue')
const lowriskill=()=>import('@/views/zsg/lowriskill.vue')
const lowrisk=()=>import('@/views/zsg/lowrisk.vue')
const moderate=()=>import('@/views/zsg/moderate.vue')
const moderateill=()=>import('@/views/zsg/moderateill.vue')
const highrisk=()=>import('@/views/zsg/highrisk.vue')
const highriskill=()=>import('@/views/zsg/highriskill.vue')

// 导出该组件
export default [
    {
      path: '/zsg',
      component: Layout,
      name: 'zsg',
      meta: {
        title: '患者人群管理',
      },
      icon: 'User',
      children: [
        {
          path: '/zsgs',
          name: 'zsgs',
          icon: 'Promotion',
          meta: {
            title: '一般人群管理',
            // affix: true,
          },
          children:[
            {
              path: '/lowrisk',
              name: 'lowrisk',
              component: lowrisk,
              icon: 'Promotion',
              meta: {
                title: '低危人群管理',
                // affix: true,
              },
            },
            {
              path: '/moderate',
              name: 'moderate',
              component: moderate,
              icon: 'Promotion',
              meta: {
                title: '中危人群管理',
                // affix: true,
              },
            },
            {
              path: '/highrisk',
              name: 'highrisk',
              component: highrisk,
              icon: 'Promotion',
              meta: {
                title: '高危人群管理',
                // affix: true,
              },
            },
          ]
        },
        // {
        //   path: '/patient',
        //   name: 'patients',
        //   component: patient,
        //   icon: 'Promotion',
        //   meta: {
        //     title: '高风险患者管理',
        //     // affix: true,
        //   },
        // },
        // {
        //   path: '/group',
        //   name: 'groups',
        //   component: group,
        //   icon: 'Promotion',
        //   meta: {
        //     title: '疾病高危患者管理',
        //     // affix: true,
        //   },
        // },
        {
          path: '/zsgss',
          name: 'zsgss',
          icon: 'Promotion',
          meta: {
            title: '慢病患者管理',
            // affix: true,
          },
          children:[
            {
              path: '/lowriskill',
              name: 'lowriskill',
              component: lowriskill,
              icon: 'Promotion',
              meta: {
                title: '低危患者管理',
                // affix: true,
              },
            },
            {
              path: '/moderateill',
              name: 'moderateill',
              component: moderateill,
              icon: 'Promotion',
              meta: {
                title: '中危患者管理',
                // affix: true,
              },
            },
            {
              path: '/highriskill',
              name: 'highriskill',
              component: highriskill,
              icon: 'Promotion',
              meta: {
                title: '高危患者管理',
                // affix: true,
              },
            },
          ]
        },
      ],
    },
  ]